			<?php if(isset($error)){?>
				<div id="tonyError" class="error"><?php echo $error;?></div>
			<?php }elseif (isset($success)){?>
				<div id="tonySuccess" class="success"><?php echo $success;?></div>
			<?php }?>
			<div id="content">
                <div class="inner">
					<div class="topcolumn">
						<div class="logo"></div>
                            <ul  id="shortcut">
                                <li> <a href="#" title="Back To home"> <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/home.png" alt="home"/><strong>Home</strong> </a> </li>
                                <li> <a href="#" title="Website Graph"> <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/graph.png" alt="graph"/><strong>Graph</strong> </a> </li>
                                <li> <a href="#" title="Setting" > <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/setting.png" alt="setting" /><strong>Setting</strong></a> </li> 
                                <li> <a href="#" title="Messages"> <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/mail.png" alt="messages" /><strong>Message</strong></a><div class="notification" >10</div></li>
                            </ul>
					</div>
                    <div class="clear"></div>
                  	<div class="onecolumn" >
                  	
	                  <div class="header"><span ><span class="ico  gray connect"></span>Add New Album</span> </div><!-- End header -->	
	                  <div class="clear"></div>
	                  <div class="content" >
	                  	<div class="tab_container">
	                  	<div class="tab_content"> 
	                  	<div class="load_page">
	                  	<div class="formEl_b">	
	                    	<form id="validation" action="<?php echo  admin_url('add-new-gallery-cate');?>" method="post"  > 
                         		<div class="section ">
                                	<label> <?php echo $this->lang->line('name'); ?> *<small><?php echo $this->lang->line('name'); ?></small></label>   
                                      <div> 
                                      	<input type="text" class="validate[required] large" name="name" id="name" value="<?php echo set_value('name');?>" />
                                      </div>
                            	</div>
                               	<div class="section">
                                   	<label><?php echo $this->lang->line('description'); ?><small><?php echo $this->lang->line('description'); ?></small></label>   
                                  	<div > <textarea name="description" id="editor"  class="editor"  cols="" rows=""><?php echo set_value('description');?></textarea></div>      
                               	</div>
                               	<div class="section">
                               		<label><?php echo $this->lang->line('order'); ?> *<small><?php echo $this->lang->line('order'); ?></small></label>  
                               		<div>
	                               		<select name="order" class="add-order" style="width: 150px;">
					                		<?php for($i=1; $i<=40; $i++){?>
					                		<option value="<?php echo $i;?>" <?php echo set_select('order', $i);?>><?php echo $i;?></option>
					                		<?php }?>
					                	</select>
				                	</div>
                               	</div>
                                <div class="section last">
                                      <div>
                                        <input type="submit" class="uibutton submit_form" value="<?php echo $this->lang->line('save');?>" id="but_addMenu" />
                                        <a class="uibutton special"   onClick="ResetForm()" title="Reset  Form"   >Clear Form</a>
                                      </div>
                               	</div>
	                    	</form>
	                  	</div> <!-- End .formEl_b -->
	                  	</div> <!-- End .load_page -->
	                  	</div> <!-- End .tab_content -->
	                  	</div> <!-- End .tab_container -->
	                  	</div> <!-- End .content -->
	                  	<div class="clear"/></div>                  
                 	</div><!-- End .onecolumn -->
                  	
                  	</div>
                  	<script type="text/javascript" src="<?php echo base_url();?>public/admin/js/login.js"></script>
        		  <script type="text/javascript">
        		  	loading('Checking',1);		
        			setTimeout( "unloading()", 500 );
					var error = '<?php if(isset($error)){echo $error;}?>';
					if(error != " "){$('#tonyError').addClass('error').html(error).stop(true,true).show().animate({ opacity: 1,right: '10'}, 1000);setTimeout('hideTop()',3500);}
		
					var success = '<?php if(isset($success)){echo $success;}?>';
					if(success != " "){$('#tonySuccess').addClass('success').html(success).stop(true,true).show().animate({ opacity: 1,right: '10'}, 1000);setTimeout('hideTop()',3500);}
				 </script> 